int
?
int
Here is a picture that shows what the executing program looks like
just after the first call to the findMax()
x
of the findMax()
method
At this point in the execution the second array has been created,
but has not been used.
The reference variable ar2
refers to it.
How can the findMax()
method be used with the second array?
(Write the Java expression that does this.
It will be similar to the first use of findMax()
.)